package com.cgc.venus.server.app.bean;

/**
 * Created by 业哥 on 2017/12/8.
 * 镜像高可用配置
 */
public class ImageHighAvailabilityBean {
    // 主键
    private String id = "";
    // 所属镜像
    private String image = "";
    // 高可用类型: http,tcp
    private int type = 1;
    // 端口
    private int port = 0;
    // 首次检查延迟
    private int initialDelaySeconds = 0;
    // 检查间隔
    private int periodSeconds = 0;
    // 检查超时时间
    private int timeoutSeconds = 0;
    // 当类型为: http,要填写path接口路径
    private String path = "";
    private String createTime;
    private String lastUpdateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getInitialDelaySeconds() {
        return initialDelaySeconds;
    }

    public void setInitialDelaySeconds(int initialDelaySeconds) {
        this.initialDelaySeconds = initialDelaySeconds;
    }

    public int getPeriodSeconds() {
        return periodSeconds;
    }

    public void setPeriodSeconds(int periodSeconds) {
        this.periodSeconds = periodSeconds;
    }

    public int getTimeoutSeconds() {
        return timeoutSeconds;
    }

    public void setTimeoutSeconds(int timeoutSeconds) {
        this.timeoutSeconds = timeoutSeconds;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
